<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/6/11
  Time: 13:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>JSP入门</title>
</head>
<body>
<h2>JSP简单方法</h2>
<%--ctrl+shift+/   加注释--%>
<%--Java代码--%>
<%
    String s1="hello jsp";
    System.out.println(s1);
%>
<h4>
<%--输出展示在页面上--%>
    <%=s1%>
</h4>
</body>
</html>
